You should never call the forget
command directly for an instance of a Lingo Xtra. Director automatically calls forget
when an instance of an Xtra needs to be disposed; calling forget
yourself can lead to memory leaks or crashing.
Use the following syntax to explicitly get rid of a document object when you are done using it:
set doc = 0
Where doc
is the document object you want to dispose of. Explicitly disposing of documents is optional, since Director will automatically get rid of the object when it's no longer referenced anyway.